//
//  WGWheathCollectionViewCell.h
//  QuickCure1
//
//  Created by Apple on 16/10/31.
//  Copyright © 2016年 maoge. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Weather.h"
@class WGWheathCollectionViewCell;

@protocol WGWheathCollectionViewCellDelegate <NSObject>

@optional
-(void)clickCityButtonWithWheathCollectionViewCell:(WGWheathCollectionViewCell *)cell;
-(void)clickCityButtonWithWheathCollectionViewCell:(WGWheathCollectionViewCell *)cell withCityButton:(UIButton*)button;

@end

@interface WGWheathCollectionViewCell : UICollectionViewCell

/**创建天气cell*/
+(instancetype)weatherCell;

/**天气模型*/
@property(nonatomic,strong)Weather *model;

/**城市模型*/
@property (weak, nonatomic) IBOutlet UIButton *btn_city;

//设置代理属性
@property(nonatomic,weak)id<WGWheathCollectionViewCellDelegate> delegate;

@end
